PackageItem Class

Contains constants related to the PackageItem item type.

Each item contains information about one e-learning package. Before a package can be attempted, a row referring to it must be added to this table. When that happens, detailed information about the package is added to other tables in the schema; for example, information about each activity is added to the ActivityPackageItem table. SLK extends this item type by adding the Warnings property/column.

This LearningStore item type is available in both SLK and MLC.

Namespace: Microsoft.SharePointLearningKit.Schema

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public abstract class PackageItem

Fields
Name Description
ÐC Id

Name of the Id property on the PackageItem item type.

ÐC ItemTypeName

Name of the PackageItem item type.

ÐC Location

Name of the Location property on the PackageItem item type.

Location is the location of the files within the package. The format of this field is determined by the application.

ÐC Manifest

Name of the Manifest property on the PackageItem item type.

Manifest is the imsmanifest.xml of the package.

ÐC MaxLocationLength

Maximum length of the Location property in characters.

ÐC PackageFormat

Name of the PackageFormat property on the PackageItem item type.

PackageFormat is the type of content in the package: SCORM 2004, SCORM 1.2, or Class Server format.

ÐC Warnings

Name of the Warnings property on the PackageItem item type.

Warnings contains warnings that SLK detected when the package was registered. This XML consists of a root "<Warnings>" element containing one "<Warning>" element per warning, each of which contains the text of the warning as the content of the element plus the following attributes: the "Code" attribute contains the warning's validation result code, and "Type" attribute contains the warning's type, either "Error" or "Warning". Warnings is null if there are no warnings.

This property/column is available only in SLK (not in MLC).

Remarks

Default operation-level security: Access is granted to no users.

In MLC, this item type is defined in the namespace Microsoft.LearningComponents.Storage.BaseSchema, in the assembly Microsoft.LearningComponents.Storage.dll.

Properties on the item type: